using System;

namespace winsw
{
	[Flags]
	internal enum ACCESS_MASK : uint
	{
		DELETE = 0x10000u,
		READ_CONTROL = 0x20000u,
		WRITE_DAC = 0x40000u,
		WRITE_OWNER = 0x80000u,
		SYNCHRONIZE = 0x100000u,
		STANDARD_RIGHTS_REQUIRED = 0xF0000u,
		STANDARD_RIGHTS_READ = 0x20000u,
		STANDARD_RIGHTS_WRITE = 0x20000u,
		STANDARD_RIGHTS_EXECUTE = 0x20000u,
		STANDARD_RIGHTS_ALL = 0x1F0000u,
		SPECIFIC_RIGHTS_ALL = 0xFFFFu,
		ACCESS_SYSTEM_SECURITY = 0x1000000u,
		MAXIMUM_ALLOWED = 0x2000000u,
		GENERIC_READ = 0x80000000u,
		GENERIC_WRITE = 0x40000000u,
		GENERIC_EXECUTE = 0x20000000u,
		GENERIC_ALL = 0x10000000u,
		DESKTOP_READOBJECTS = 0x1u,
		DESKTOP_CREATEWINDOW = 0x2u,
		DESKTOP_CREATEMENU = 0x4u,
		DESKTOP_HOOKCONTROL = 0x8u,
		DESKTOP_JOURNALRECORD = 0x10u,
		DESKTOP_JOURNALPLAYBACK = 0x20u,
		DESKTOP_ENUMERATE = 0x40u,
		DESKTOP_WRITEOBJECTS = 0x80u,
		DESKTOP_SWITCHDESKTOP = 0x100u,
		WINSTA_ENUMDESKTOPS = 0x1u,
		WINSTA_READATTRIBUTES = 0x2u,
		WINSTA_ACCESSCLIPBOARD = 0x4u,
		WINSTA_CREATEDESKTOP = 0x8u,
		WINSTA_WRITEATTRIBUTES = 0x10u,
		WINSTA_ACCESSGLOBALATOMS = 0x20u,
		WINSTA_EXITWINDOWS = 0x40u,
		WINSTA_ENUMERATE = 0x100u,
		WINSTA_READSCREEN = 0x200u,
		WINSTA_ALL_ACCESS = 0x37Fu
	}
}
